import api from '@/api/index.ts'

// 获取列表
export function GetData(params: any) {
  return api.get('/api/act/drawactprize/list', { params })
}
// 获取详情
export function GetDataDetail(id: string) {
  return api.get(`/api/act/drawactprize/detail/${id}`)
}
// 添加
export function PostCreateData(params: any) {
  return api.post('/api/act/drawactprize/create', params)
}
// 编辑
export function PutModifyData(params: any) {
  return api.put('/api/act/drawactprize/modify', params)
}
// 修改状态
export function PatchModifyType(params: any) {
  return api.patch('/api/act/drawactprize/modifyactstatus', params)
}
